<div class="project-bind-record">
    <div class="clearfix header">
        <span class="fl">项目绑定记录列表</span>
        <div class="fr">
            <input class="input-text fl" type="text" placeholder="项目名称"
                   ng-model="bindRecordSearchKeyword"
                   ng-enter="bindRecordSearchFn()">
            <button class="btn fl" type="button" ng-click="bindRecordSearchFn()">搜索</button>
        </div>
    </div>
    <div class="project-bind-record-list">
        <table class="table-wrap valign-t">
            <thead>
            <tr>
                <th>序号</th>
                <th>项目名称</th>
                <th>项目所在地</th>
                <th>项目状态</th>
                <th>绑定时间</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="data in dataList">
                <td>{{ $index + 1 + (pageIndex - 1) * pageSize }}</td>
                <td>
                    <div style="max-width: 150px;">{{ data.ProjName }}</div>
                </td>
                <td>
                    <div>{{ data.cityName }}</div>
                </td>
                <td>
                    <div>{{ data.Disabled == 0 ? '正常' : '禁用' }}</div>
                </td>
                <td>
                    <div>{{ data.CreatedOn }}</div>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <div class="paging" ui-pagination
         page-index="pageIndex"
         page-size="pageSize"
         total="total"
         changed="bindRecordPageChange( $pageIndex, $pageSize )">
    </div>
</div>